<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <table>
        <thead>
            <tr>
                <th>ID</th>
                <th>NAME</th>
                <th>PHONE</th>
                <td>监控状态</td>
            </tr>
        </thead>
        <tbody>
            {{ each  users u  i}}
                <tr>
                    <td>{{ u.id }}</td>
                    <td>{{u.name}}</td>
                    <td>{{u.phone}}</td>
                    <td>
                        {{if u.flag==true}}
                            生病
                        {{/if}}
                        {{if u.flag==false}}
                            健康
                        {{/if}}

                    </td>
                </tr>
            {{ /each }}
        </tbody>
    </table>
</body>
</html>